package com.mojo.junit4;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author <a href="mailto:mojo_jj@163.com">Mojo</a>
 */
@Service
public class UserService {
    @Autowired
    private User user;

    //@Autowired
    //public void setUser(User user) {
    //    this.user = user;
    //}

    public void printUser() {
        System.out.println(">>" + user);
    }
}
